
VERSION=	0.1

MANS=		\
		gvn.1 \

HTMLS=		\
		gvn.html \

POD2HTML=	pod2html
POD2MAN=	pod2man

.PHONY: all clean
all: ${MANS} ${HTMLS}
clean:
	rm -f ${MANS} ${HTMLS}

.PHONY: check
check:
	podchecker *.pod

.SUFFIXES: .pod .html .1
.pod.html:
	${POD2HTML} --title 'gvn user guide' --outfile $@ $<
	rm -fr pod2htm*.tmp
.pod.1:
	${POD2MAN} -c 'gvn user guide' -r ${VERSION} $< $@
